package com.alks.function.data.dto.procurement;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

@Getter
@Setter
@NoArgsConstructor
@ToString
public class SummaryALLDataDto {

    @ApiModelProperty(value = "厂区", name = "lotFact")
    private String lotFact;

    @ApiModelProperty(value = "指令", name = "lotNo")
    private String lotNo;

    @ApiModelProperty(value = "型体", name = "style")
    private String style;

    @ApiModelProperty(value = "颜色", name = "color")
    private String color;

    @ApiModelProperty(value = "指令类型", name = "lotType")
    private String lotType;

    @ApiModelProperty(value = "指令单日期", name = "sysDate")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private Date sysDate;

    @ApiModelProperty(value = "指令单交期", name = "deliveryDate")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private Date deliveryDate;

    //前端传了两个字段，排序字段和排序方式
    // sortField,sortWay(0是升序，1是降序)
    // 前端默认传 指令单交期降序（deliveryDate，1）

//    private String outFlag;

    private String sumNo;
}
